cmake_minimum_required(VERSION 2.8)

project(Project)

## Compile as C++11
set(CMAKE_BUILD_TYPE "Release")

set(CMAKE_CXX_FLAGS "-fPIC --std=c++11 -pthread")

# set(CMAKE_CXX_FLAGS_RELEASE "-O3 -Wall -fPIC -fopenmp")

# set bin folder
set(EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/bin)
# set lib folder
set(LIBRARY_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/LIBS)
include_directories(
    ${PROJECT_SOURCE_DIR}/3rdlib/libyamlcpp/include/
)

link_directories(
  ${PROJECT_SOURCE_DIR}/3rdlib/libyamlcpp/lib
)

add_subdirectory(src)
